package com.ibeeking.found.common.constants;

/**
 * @ClassName GlobalConstant
 * @Description 会员模块常量
 * @Author ibeeking
 * @Date 2020-12-01 19:02
 **/
public class MemberConstant {
    /**
     * 会员等级前缀
     */
    public static final String MEMBER_LEVEL_CODE_PREFIX = "LV";

    /**
     * 会员标签-满足条件-选择的所有
     */
    public static final Integer MATCH_CONDITION_CHOOSE_ALL = 0;

    /**
     * 会员标签-满足条件-选择的任意一个
     */
    public static final Integer MATCH_CONDITION_CHOOSE_ANY = 1;

    /**
     * 不选择
     */
    public static final Integer CHOOSE_NOT = 0;
    /**
     * 选择
     */
    public static final Integer CHOOSE = 1;
    /**
     * 锁等待时间(秒)
     */
    public static final Integer LOCK_SECONDS_WAIT_TIME = 2;
    /**
     * 锁有效时间(秒)
     */
    public static final Integer LOCK_SECONDS_LEASE_TIME = 600;
    /**
     * 批量操作 每次处理数
     */
    public static final Integer BATCH_SIZE = 5000;

    /**
     * 会员B端锁-批量增减标签
     */
    public static final String MEMBER_B_LOCK_CHANGE_TAGS_BATCH = "MEMBER_B_LOCK:CHANGE_TAGS_BATCH:";
    /**
     * 会员B端锁-批量修改等级
     */
    public static final String MEMBER_B_LOCK_CHANGE_LEVEL_BATCH = "MEMBER_B_LOCK:CHANGE_LEVEL_BATCH:";
    /**
     * 会员B端锁-批量修改积分
     */
    public static final String MEMBER_B_LOCK_CHANGE_POINTS_BATCH = "MEMBER_B_LOCK:CHANGE_POINTS_BATCH:";

    /**
     * 会员B端锁-导入会员
     */
    public static final String MEMBER_B_LOCK_UPLOAD_MEMBER_BATCH = "MEMBER_B_LOCK:UPLOAD_MEMBER_BATCH:";
    /**
     * 排序字段 createTime
     */
    public static final String SORT_COLUMN_CREATETIME = "createTime";

    /**
     * 积分任务已完成
     */
    public static final String POINTS_TASK_COMPLETE = "已完成";

    /**
     * 积分任务未完成
     */
    public static final String POINTS_TASK_COMPLETE_NO = "未完成";


}
